package ky.cse.proj.dao;

import java.util.List;

import ky.cse.proj.vo.snsVO;

import org.mybatis.spring.support.SqlSessionDaoSupport;
import org.springframework.stereotype.Repository;

@SuppressWarnings("rawtypes")
@Repository("snsDao")
public class snsDao extends SqlSessionDaoSupport{
	
	public List selectSnsTb(){
		return getSqlSession().selectList("sqlmap_selectSnsTb");
	}
	
	public void insertSns(snsVO snsVo){
		getSqlSession().insert("sqlmap_insertSns", snsVo);
	}
	
	public List selectSnsPerson(snsVO snsVo){
		return getSqlSession().selectList("sqlmap_selectSnsPerson",snsVo);
	}
}
